#include "mymenu.h"

#include <QDebug>

int MyMenu::count = 0;

MyMenu::MyMenu(QWidget *parent)
    : QMenu(parent)
{
    ++count;
    qDebug() << "MyMenu::MyMenu(QWidget *parent)" << "    count=" << count;
}

MyMenu::~MyMenu()
{
    qDebug() << "MyMenu::~MyMenu()" << "    count=" << count;
    --MyMenu::count;
}
